<script setup>
import SoltSon from '@/components/SoltSon.vue'
</script>

<template>
    <hr style=" height:2px;border:none;border-top:2px dotted black;" /> 
    <h3>父组件</h3>



    <SoltSon>
        <a href="www.lcj.com">匿名父插槽 </a>

        <template v-slot:url>
           <a href="http://www.xxx.com">具名父插槽</a>
        </template>
 
        <!-- v-slot:user 简写 #user -->
        <template #user>
            <a href="http://www.xxx.com">简写父插槽</a>
        </template>
        

        <template #urlx="data">
            <hr style=" height:2px;border:none;border-top:2px dotted black;" />
                {{ data.title }}::{{ data.user }}
        </template>
    </SoltSon>


</template>
  